@font-face {
    font-family: "Roboto Mono";
    src: local("Roboto Mono"), local("RobotoMono-Regular"),
    url("resources/RobotoMono-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto Mono";
    src: local("Roboto Mono Medium"), local("RobotoMono-Medium"),
    url("resources/RobotoMono-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
}

html,
body {
    height: 100%;
    margin: 0px;
    overflow: hidden;
    background-color: black;
}

* {
    font-family: "Roboto Mono", monospace;
    font-size: 12px;
}

.canvas-wrapper {
    display: inline-block;
    vertical-align: top;
    position: fixed;
    top: 0;
    left: 0;
}

.button {
    background-color: #5c5c5c;
    text-indent: 0;
    border: 0px;
    color: #ffffff;
    font-weight: bold;
    font-style: normal;
    height: 31px;
    line-height: 31px;
    width: 100%;
    text-decoration: none;
    text-align: center;
    margin-bottom: 15px;
}

.button:hover {
    background-color: #eeeeee;
    color: #000000;
}

.showOverlay {
    bottom: 0;
    display: flex;
    font-size: 16px;
    left: calc(50% - 55px);
    margin-bottom: 7px;
    position: absolute;
}

#compass {
    height: 18vh;
}

#modelview,
#compassContainer {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 41vh;
    display: none;
}

#modelview {
    padding-top: 5vh;
}

#modelview canvas {
    background: transparent;
}

#warning {
    position: relative;
    margin: auto;
    text-align: center;
    font-size: 24px;
    padding-top: 48vh;
    color: white;
}

#boseRate {
    overflow: hidden;
    min-width: fit-content;
    width: 100%;
}

.containerOuter {
    background: white;
    border-radius: 8px;
    box-shadow: 2px 6px 20px 2px rgba(10, 10, 120, 0.15);
    z-index: 5;
    /* display:none; */
}

#selected_id {
    display: none;
}

.containerInner {
    position: relative;
    margin: 20px;
    width: 160px;
}

.containerInner .button:last-child {
    margin-bottom: 5px;
}

.hidden {
    display: none;
}

.entry {
    height: 25px;
    position: absolute;
    width: 160px;
}

.entry:nth-child(2) {
    left: 8px;
    top: 8px;
}

.entry:nth-child(4) {
    left: 8px;
    top: 58px;
}

.entry:nth-child(6) {
    left: 8px;
    top: 108px;
}

.entry:nth-child(8) {
    left: 8px;
    top: 158px;
}

.circle {
    border: 2px solid #5c5c5c;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    position: absolute;
    transition: border-color 300ms;
    width: 20px;
}

.entry-label {
    cursor: pointer;
    margin-top: 3px;
    padding-left: 40px;
    user-select: none;
    -moz-user-select: none;
}

.overlay {
    mask: url(#holes);
    -webkit-mask-image: url();
    height: 140px;
    pointer-events: none;
    transition: background 300ms;
    width: 40px;
}

.highlight {
    background: #5c5c5c;
    border-radius: 50%;
    height: 12px;
    left: 14px;
    pointer-events: none;
    position: absolute;
    top: 14px;
    transition: transform 400ms cubic-bezier(0.175, 0.885, 0.32, 1.2);
    transform: translateY(-50px);
    width: 12px;
}

.hidden:nth-child(1):checked ~ .highlight {
    transform: translateY(0);
}

.hidden:nth-child(3):checked ~ .highlight {
    transform: translateY(50px);
}

.hidden:nth-child(5):checked ~ .highlight {
    transform: translateY(100px);
}

.hidden:nth-child(7):checked ~ .highlight {
    transform: translateY(150px);
}

.hidden:nth-child(1):checked + .entry .circle {
    border-color: #5c5c5c;
}

.hidden:nth-child(3):checked + .entry .circle {
    border-color: #5c5c5c;
}

.hidden:nth-child(5):checked + .entry .circle {
    border-color: #5c5c5c;
}

.hidden:nth-child(7):checked + .entry .circle {
    border-color: #5c5c5c;
}

/* DatGUI Styling */
.dg.main.taller-than-window .close-button {
    border-top: 1px solid #5c5c5c;
}

.dg.main .close-button {
    background-color: #5c5c5c;
    color: #fff;
}

.dg.main .close-button:hover {
    background-color: #5c5c5c;
}

.dg {
    color: #000;
    text-shadow: none !important;
}

.dg.main::-webkit-scrollbar {
    background: #fafafa;
}

.dg.main::-webkit-scrollbar-thumb {
    background: #bbb;
}

.dg li:not(.folder) {
    border-bottom: 1px solid #ddd;
}

.dg li.save-row .button {
    text-shadow: none !important;
}

.dg li.title {
    background: #e8e8e8 url() 6px 10px no-repeat;
}

.dg .cr.function:hover,
.dg .cr.boolean:hover {
    background: #fff;
}

.dg .c input[type="text"] {
    background: #e9e9e9;
}

.dg .c input[type="text"]:hover {
    background: #eee;
}

.dg .c input[type="text"]:focus {
    background: #eee;
    color: #555;
}

.dg .c .slider {
    background: #e9e9e9;
}

.dg .c .slider:hover {
    background: #eee;
}

.dg .c .slider-fg {
    background: #5c5c5c;
}

.dg .c .slider:hover .slider-fg {
    background: #000;
}

/* Disable left borders */
.dg .cr.boolean {
    border-left: 3px solid #5c5c5c;
}

.dg .cr.color {
    border-left: 3px solid #5c5c5c;
}

.dg .cr.function {
    border-left: 3px solid #5c5c5c;
}

.dg .cr.number {
    border-left: 3px solid #5c5c5c;
}

.dg .cr.number input[type="text"] {
    color: #5c5c5c;
}

.svg-loader {
    height: 18vh;
}

.background img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-filter: grayscale(30%) blur(15px);
    -moz-filter: grayscale(30%) blur(15px);
    -o-filter: grayscale(30%) blur(15px);
    filter: grayscale(30%) blur(15px);
    width: 1200px;
    min-height: 100%;
    min-width: 100%;
    opacity: 0.6;
}

.cardBottom {
    transition: 0.4s;
    perspective: 1000px;
    width: 480px;
    height: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cardBottom .card {
    transition: 0.2s;
    border: 10px solid #000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%);
    margin: 0 auto;
}

.cardBottom .card .txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    text-align: center;
    border: 3px solid;
    color: #000;
    font-size: 40px;
}

.cardBottom .card img {
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* try to adjust the video component */
#video {
    width: 100vw !important;
    top: 0;
    left: 0;
}

#output {
    width: 100vw;
    height: 110vh;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    aspect-ratio: auto 1600 / 1200 !important;
    transform: rotateY(180deg);
}

#warning {
    z-index: 9999;
}

.canvas-wrapper {
    width: 100vw;
    height: 100vh;
}
